package com.night.attendance.mapper;

import com.night.common.entity.attendance.StudentAttendanceDO;
import com.night.common.entity.attendance.StudentAttendanceQueryDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author rzh6230
 * @datetime 2022/10/18 20:11
 */
public interface StudentAttendanceMapper {
    void insertBatch(@Param("list") List<StudentAttendanceDO> studentAttendanceDOList);
    void updateAttendance(StudentAttendanceDO studentAttendanceDO);
    Integer selectById(StudentAttendanceDO studentAttendanceDO);
    List<StudentAttendanceDO> selectByCourse(StudentAttendanceQueryDO studentAttendanceQueryDO);
    List<StudentAttendanceDO>  selectShortAttendanceRecord(StudentAttendanceQueryDO studentAttendanceQueryDO);
}
